<template>
  <div id="app" @click.capture="appClick">
    <router-view/>
  </div>
</template>

<script>
  import devMain from '@/components/devMain'

  export default {
    name: 'App',
    components: {
      devMain: devMain
    },
    methods: {
      //关闭子菜单
      appClick( event ) {
        this.$root.$emit('closeSubRouter', event);
      }
    }
  }
</script>

<style>
  button {
    outline: 0;
  }
  #app {
    font-family: "微软雅黑";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 62.5%;
  }
  body {
    padding: 0;
    margin: 0;
  }
  .tilte-bar {
    background-color: #616161;
    color: white;
    font-size: 1rem;
    padding-left: 1rem;
    line-height: 2.5rem;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 8;
  }
  .content {
      padding: 3.5rem 0;
      min-height: 100vh;
      background-color: #ededed;
  }
  .content .padding-1 {
    padding: 0 1rem;
  }
  .table-normal {
      border-collapse: collapse;
      table-layout: fixed;
      width: 100%;
      background-color: #ffffff;
      margin: .8rem 0;
  }
  .table-normal tr {
      border-bottom: .05rem solid #d8d8d5;
  }
  .button-warnning {
    color: red;
    text-align: center;
    margin-top: 1rem;
    font-size: .8rem;
  }
  .info-row {
      height: 2rem;
      margin: .5rem 0;
      font-size: .6rem;
      /* color: #3654a7; */
  }
  .info-row input {
      height: 1.8rem;
      border: .05rem solid rgb(159, 159, 160);
      width: 60%;
      border-radius: .2rem;
  }
  tr {
      height: 2rem;
  }
  .content a {
      text-decoration: none;
      /* color: #576b95; */
  }
  /* .a-style{
    text-decoration: none;
    color: #576b95;
  } */
  td {
    word-break: break-all;
    padding: 0 .4rem;
    text-align: center;
  }
  select {
    background-color: white;
  }
  .weui-cell-background-color {
    background-color: #fff;
    font-size: .8rem;
  }
  .weui-main-info {
    font-size: 1rem;
  }
  .weui-cell__hd {
    margin-right: .5rem;
  }
  /* 必填 */
  .required-input {
    color: red;
  }
  /* select框 */
  .weui-select {
      padding-left: 0 !important;
      padding-right: 1.5rem !important;
      height: inherit !important;
      line-height: inherit !important;
  }
  .weui-cell__hd_1 {
      position: relative;
      display: inline-block;
  }
  .weui-cell__hd_1::before {
      content: '';
      width: .3rem;
      height: .3rem;
      position: absolute;
      display: inline-block;
      border-width: 0 .2rem .2rem 0;
      border-color: #C8C8CD;
      border-style: solid;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      right: .5rem;
      top: 50%;
      margin-top: -.4rem;
  }
</style>
